package com.bdqn.crm.repository;

import com.bdqn.crm.config.shiro.ShiroConfig;
import com.bdqn.crm.service.SysUserService;
import org.apache.shiro.crypto.hash.Md5Hash;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

@SpringBootTest
public class ab {

    @Resource
    private SysUserService sysUserService;

    public static void main(String[] args) {
        String salt = "czkt";
        String pwd = "123456";
        Md5Hash md5Hash = new Md5Hash(pwd,salt,2);
        System.out.println(md5Hash.toString());
        System.out.println("你好");
    }

}
